package com.zhike.mapper.group;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhike.common.dto.GroupMember4Cache;
import com.zhike.common.model.GroupMembers;

public interface GroupMemberMapper extends BaseMapper<GroupMembers>{
  /**
   * 查询群状态是1（正常）的群成员信息
   * @return a.g_id,a.user_uid,c.device_no
   */
  List<GroupMember4Cache> getGroupMembers();

  List<GroupMember4Cache> selectGroupMemberInfoList(@Param("gId") String gid);

  int selectMemberAdmin(@Param("gId") String gid, @Param("gNoticeUpdateuid") String uid);
}
